<?php
class Link extends CoreTagWithLang {
	protected $charset;
	protected $href;
	protected $hreflang;
	protected $media;
	protected $rel;
	protected $rev;
	protected $target;
	protected $type;

	public function __construct() {
		parent::__construct("a");
		$this->charset="";
		$this->href="";
		$this->hreflang="";
		$this->media="";
		$this->rel="";
		$this->rev="";
		$this->target="";
		$this->type="";
		$this->attributeNames=array_merge($this->attributeNames,array('charset','href','hreflang','media','rel','rev','target','type'));
		$this->attributeValues=array_merge($this->attributeValues,array('','','','','','','',''));
	}

	public function setCharset($_charset) {
		$this->charset=(string)$_charset;
		$this->setAttribute('charset',$_charset);
	}
	public function getCharset() {
		return $this->charset;
	}
	public function setHref($_href) {
		$this->href=(string)$_href;
		$this->setAttribute('href',$_href);
	}
	public function getHref() {
		return $this->href;
	}
	public function setHreflang($_hreflang) {
		$this->hreflang=(string)$_hreflang;
		$this->setAttribute('hreflang',$_hreflang);
	}
	public function getHreflang() {
		return $this->hreflang;
	}
	public function setMedia($_media) {
		$this->media=(string)$_media;
		$this->setAttribute('media',$_media);
	}
	public function getMedia() {
		return $this->media;
	}
	public function setRel($_rel) {
		$this->rel=(string)$_rel;
		$this->setAttribute('rel',$_rel);
	}
	public function getRel() {
		return $this->rel;
	}
	public function setRev($_rev) {
		$this->rev=(string)$_rev;
		$this->setAttribute('rev',$_rev);
	}
	public function getRev() {
		return $this->rev;
	}
	public function setTarget($_target) {
		$this->target=(string)$_target;
		$this->setAttribute('target',$_target);
	}
	public function getTarget() {
		return $this->target;
	}
	public function setType($_type) {
		$this->type=(string)$_type;
		$this->setAttribute('type',$_type);
	}
	public function getType() {
		return $this->type;
	}

}
?>